<?=html::script('js/validator.js')?>
<div>
	<div class="box-h1">
		<h1><i>
			<?=Kohana::lang('site.viewcart')?> -> 
			<em><?=Kohana::lang('site.login')?></em> -> 
			<?=Kohana::lang('site.shipping')?> -> 
			<?=Kohana::lang('site.invoice')?> -> 
			<?=Kohana::lang('site.payment')?></i>
			<?=Kohana::lang('title.yourcart')?>
		</h1>
		<div class="box1 sform">
			<form action="<?=url::site('cart/checklogin')?>" onsubmit="return Validator.Validate(this,1)" method="post">
				<input type="hidden" name="return_url" value="<?=$return_url?>" />
				<ul>
					<li>
						<span class="label"><?=Kohana::lang('site.username')?>: </span>
						<span class="required">*</span>
						<span><input name="username" dataType="ASCII" msg="用户名只能包含英文字母和数字" type="text"/></span>
					</li><li>
						<span class="label"><?=Kohana::lang('site.password')?>: </span>
						<span class="required">*</span>
						<span><input name="password" dataType="Require" msg="请输入密码" type="password"/></span>
					</li><li>
						<span class="label"></span>
						<span class="required"></span>
						<span><input type="Submit" value="<?=Kohana::lang('site.login')?>"/>&#160;&#160;&#160;&#160;&#160;
						<button onclick="window.location='/customer/register.html';return false;"><?=Kohana::lang('site.register')?></button></span>
					</li>
				</ul>
			</form>
		</div>
	</div>
</div>